/*
 * @file     g_systick.h
 * @brief    This file contains all the functions prototypes for the systick firmware library.
 *
 * Change Logs:
 * Date           Author             Version        Notes
 * 2021-05-28     xubo               V1.0.0         the first version
 */

#ifndef __G_SYSTICK_H__
#define __G_SYSTICK_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "g_1903.h"
#include "g_system.h"
#include "g_sysctrl.h"

typedef int32_t tick;
#define TICK_MAX_VALUE  (int32_t)0xFFFFFF

G_Boolean G_SysTick_IsTimeOut(tick start_tick, int interval);
tick G_SysTick_GetTick(void);


#ifdef __cplusplus
}
#endif

#endif

/************************ (C) COPYRIGHT GKT *****END OF FILE****/
